import axios, { request2 } from "../axios";
var prefix = "/wallet";
//查询用户所有的业务账户
export function findAccount(data, loading) {
    return axios({
        url: "/account/find",
        method: "post",
        data: data,
        loading: loading
    });
}
//查询账户余额
export function accountAmount(data, loading) {
    return axios({
        url: "/account/amount",
        method: "post",
        data: data,
        loading: loading
    });
}
//查询用户余额
export function walletAmount(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/walletAmount",
        method: "get",
        params: params,
        loading: loading
    });
}
//查询币种余额
export function coinAmount(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/coinAmount",
        method: "get",
        params: params,
        loading: loading
    });
}
//查询用户所有钱包信息
export function walletList(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/walletList",
        method: "get",
        params: params,
        loading: loading
    });
}
//查询用户钱包信息
export function walletInfo(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/walletInfo",
        method: "get",
        params: params,
        loading: loading
    });
}
//查询用户钱包地址
export function userAddress(data, loading) {
    return axios({
        url: "/wallet/user/address",
        method: "post",
        data: data,
        loading: loading
    });
}
//获取币种列表
export function coinList(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/coinList",
        method: "get",
        params: params,
        loading: loading
    });
}
//转账划转
export function walletTransfer(data, loading) {
    return axios({
        url: "/wallet/trade/walletTransfer",
        method: "post",
        data: data,
        loading: loading
    });
}
//转账手续费
export function transFee(params, loading) {
    return axios({
        url: "/wallet/trade/transFee",
        method: "post",
        data: params,
        loading: loading
    });
}
//支付
export function walletTrade(data, loading) {
    return axios({
        url: "/wallet/trade/v1/walletTrade",
        method: "post",
        data: data,
        loading: loading
    });
}
//账单
export function tradeBill(data, loading) {
    return axios({
        url: "/wallet/tradeBill",
        method: "post",
        data: data,
        loading: loading
    });
}
//账单详情
export function tradeBillInfo(data, loading) {
    return axios({
        url: "/wallet/tradeBillInfo",
        method: "post",
        data: data,
        loading: loading
    });
}
//类型
export function tradeTitle(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/tradeTitle",
        method: "get",
        params: params,
        loading: loading
    });
}
//业务
export function businessModule(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/businessModule",
        method: "get",
        params: params,
        loading: loading
    });
}
//钱包地址薄集合查询
export function addressBookList(data, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/addressBookList",
        method: "post",
        data: data,
        loading: loading
    });
}
//删除钱包地址薄
export function delAddressBook(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/delAddressBook",
        method: "get",
        params: params,
        loading: loading
    });
}
//保存钱包地址薄
export function saveAddressBook(data, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/saveAddressBook",
        method: "post",
        data: data,
        loading: loading
    });
}
//获取本位币
export function walletCurrencyList(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/walletCurrencyList",
        method: "get",
        params: params,
        loading: loading
    });
}
//交易支付币种信息
export function tradeCoinInfo(params, loading) {
    return axios({
        url: "/wallet/trade/v1/tradeCoinInfo",
        method: "get",
        params: params,
        loading: loading
    });
}
//查询支付结果
export function payresult(params, loading) {
    return axios({
        url: "/wallet/trade/v1/tradeResult",
        method: "get",
        params: params,
        loading: loading
    });
}
//我的荣耀点
export function myGlory(params, loading) {
    return axios({
        url: "/wallet/glory/myGlory",
        method: "get",
        params: params,
        loading: loading
    });
}
//荣耀值变更记录
export function queryLog(data, loading) {
    return axios({
        url: "/wallet/glory/queryLog",
        method: "post",
        data: data,
        loading: loading
    });
}
//账户币种信息
export function accountCoin(params, loading) {
    return axios({
        url: "/account/accountCoin",
        method: "post",
        params: params,
        loading: loading
    });
}
//账户币种展示设置
export function accountCoinShow(params, loading) {
    return axios({
        url: "/account/accountCoinShow",
        method: "post",
        data: params,
        loading: loading
    });
}
//平台币查询
export function amountPlatform(data, loading) {
    return axios({
        url: "/wallet/platform/v1/amountPlatform",
        method: "get",
        data: data,
        loading: loading
    });
}
/** 查询token 记录 */ export function getTokenRecord(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getTokenRecord"),
        method: "post",
        data: data
    });
}
/** 查询资产 */ export function getTokenAssets(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getTokenAssets"),
        method: "post",
        data: data
    });
}
/** 获取gas */ export function getGas(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getGas"),
        method: "post",
        data: data
    });
}
/** tokenTransfer */ export function tokenTransfer(data) {
    return request2({
        url: "".concat(prefix, "/transaction/transfer"),
        method: "post",
        data: data
    });
}
/** 获取nft记录 */ export function getNFTRecord(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getNFTRecord"),
        method: "post",
        data: data
    });
}
/** 获取nft列表 */ export function getNFTAssets(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getNFTAssets"),
        method: "post",
        data: data
    });
}
/** 获取nft详情 */ export function getNFTInfo(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getNFTInfo"),
        method: "post",
        data: data
    });
}
/** 获取nft记录详情 */ export function getNFTRecordInfo(id) {
    return request2({
        url: "".concat(prefix, "/wallet/getNFTRecordInfo/").concat(id),
        method: "post"
    });
}
/** 获取Token记录详情 */ export function getTokenRecordInfo(id) {
    return request2({
        url: "".concat(prefix, "/wallet/getTokenRecordInfo/").concat(id),
        method: "post"
    });
}
/** 获取登录状态下的nft二维码 */ export function getNFTQRCode(data) {
    return request2({
        url: "".concat(prefix, "/wallet/getNFTQRCode"),
        method: "post",
        data: data
    });
}
/** 获取NFT详情 （分享状态下） */ export function getNFTInfoV2(data) {
    return request2({
        url: "".concat(prefix, "/wallet/v2/getNFTInfo"),
        method: "post",
        data: data
    });
}
// 通知/消息相关
// 通知
export function getMessageList(data) {
    return request2({
        url: "/user/user/message/list",
        method: "post",
        data: data
    });
}
// 通知数
export function getMessageCount() {
    return request2({
        url: "/user/user/message/statistic",
        method: "post"
    });
}
// 公告
export function getAnnouncementList(data) {
    return request2({
        url: "/user/announcement/list",
        method: "post",
        data: data
    });
}
// 公告数
export function getAnnouncementCount() {
    return request2({
        url: "/user/announcement/count",
        method: "post"
    });
}
// 提交指引
export function requestSubmitGuide(code) {
    return request2({
        url: "/user/user/guide/guideType/".concat(code),
        method: "post"
    });
}
// 获取指引是否出现
export function requestGuideHistory() {
    return request2({
        url: "/user/user/guide/history",
        method: "post"
    });
}

 //# sourceMappingURL=wallet.js.map